import { TimeRange } from "@/utils"

export interface IResponseItem {
	id: string
	merchantId: string
	merchantName: null | string
	loginTime: string
	loginStatus: string
	userId: string
	userName: string
	accountType: string
	loginIp: string | null
	ipControlName: string | null
	ipAttribution: string | null
	deviceType: string | null
	deviceNo: string | null
	deviceNoControlName: string | null
	loginReference: string | null
	browseContent: string | null
	latlng: string | null
	location: string | null
	loginError: string | null
	appId: string | null
	loginAppId: string | null
	gps: string | null
	gpsUrl: string | null
	osVersion: string | null
	outTime: string | null
	loginIPCount: string | null
	deviceNoCount: string | null
	parentProxyName: string | null
	topProxyName: string | null
	registerIp: string | null
	registerDeviceNo: string | null
	registerTime: string | null
}

export interface IQueryListParams {
	deviceType?: number[]
	loginEndTime?: string
	loginStartTime?: string
	time: TimeRange
	loginStatus?: string
	merchantId?: string
	userName?: string
}
